const getters = {
  token: state => state.user.userInfo.token,
  id: state => state.user.userInfo.userId,
  name: state => state.user.userInfo.userName
}
export default getters
